package org.demo.db.meta;

import java.util.List;

import org.demo.db.meta.impl.DbMetaFactory;

/**
 * 
 * @author  
 * @date    2011-4-6
 * @file    org.demo.db.meta.MetaExpTest.java
 */
public class MetaExpTest {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		String type = "Oracle";
		String driver = "";
		String url = "";
		String userName = "hr";
		String userPass = "hr";
		DbMeta dbmata = DbMetaFactory.create(type, driver, url, userName, userPass);
		List<Table> tables = dbmata.getTables();
		// 
		System.out.println(tables);
	}

}
